dấu ngoặc vuông
Học thuậtThân thiện
Definition
- Noun:
- Square brackets: A pair of punctuation marks, [ and ], used to enclose text for various purposes such as indicating editorial insertions, explanations, or technical notations.
Usage Examples
- Noun:
- Trong trích dẫn, dấu ngoặc vuông thường được dùng để thêm thông tin giải thích. (In citations, square brackets are often used to add explanatory information.)
- Hãy đặt tên biến trong dấu ngoặc vuông. (Please put the variable name inside square brackets.)
Advanced Usage
- Indicating editorial additions or clarifications within a quote: Square brackets show that text has been added by someone other than the original author.
- The witness stated: "He [the defendant] arrived at 8 PM."
- Denoting optional elements in instructions or linguistics: They can enclose parts that are optional.
- The command format is:
print [filename].
- Used in mathematics and programming: To denote intervals, arrays, or specific syntactic elements.
- The closed interval from 1 to 3 is written as [1, 3].
Variants and Related Words
- Dấu ngoặc đơn (n): Parentheses, round brackets ( ).
- Dấu ngoặc nhọn (n): Curly brackets, braces { }.
- Dấu ngoặc kép (n): Quotation marks " ".
Synonyms
- Brackets (general term, though in British English this can specifically mean round brackets).
- Square brackets (the precise, unambiguous term).
Related Phrases
- Đặt trong dấu ngoặc vuông: To put/place in square brackets.
- Phần chú thích nên được đặt trong dấu ngoặc vuông. (The note should be placed in square brackets.)
- Sử dụng dấu ngoặc vuông: To use square brackets.
- Khi viết mã, bạn cần sử dụng dấu ngoặc vuông đúng cách. (When coding, you need to use square brackets correctly.)
- square brackets